Hey there! I am having a problem again but this time, just I am not so sure with the string in C.
Why cant I do something like this below chunk of code???
My Visual Studio 2005 compiler never compile such code, it only returns some kind of error like this:Code:#include <stdio.h> int main(void) { char myName[100]; myName="This is my real name"; // error might be here!!!, return 0; }
Code:left operand must be l-value